Skip to content

fix: added return on redirect#487

Merged
WillFortMadeTech merged 1 commit into
mainfrom
header-fix
Jul 3, 2026
Merged

fix: added return on redirect#487
WillFortMadeTech merged 1 commit into
mainfrom
header-fix

Conversation

@WillFortMadeTech

Copy link
Copy Markdown
Contributor

This is off the back of a container restart we had yesterday for Droits which is due to a "double response".
Throwing two responses to one request throws the error, and uncaught this kills the process.

property-form.js already had this return set up:
image

Therefore it seems like this is something that has been observed before, but the surface area for this error wasn't covered.

This has been tested locally. Testing currently in dev and providing all is working as expected we can move to staging and prod shortly.

@WillFortMadeTech WillFortMadeTech changed the title added return on redirect fix: added return on redirect Jul 3, 2026

@EduardoAquinta EduardoAquinta left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good spot!

@WillFortMadeTech WillFortMadeTech merged commit 92b5766 into main Jul 3, 2026
10 of 11 checks passed
@WillFortMadeTech WillFortMadeTech deleted the header-fix branch July 3, 2026 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants